package com.csf.create.prototype;

/**
 * TODO ADD DESCRIPTION
 * Date: 2018/9/6
 * Time: 14:48
 *
 * @author chenshf
 */
public class Test {

    public static void main(String[] args) {
        Message message = new Message();
        message.setName("chenshf");

        try {
            Object clone = message.clone();
            System.out.println(clone.toString());
        } catch (CloneNotSupportedException e) {
            System.out.println(e.getMessage());
        }
    }
}
